package com.chucang.shucang.usr.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/10/7 1:31
 * @description
 */
@Data
public class UserResetSecPasswordBySmsCodeVO implements Serializable {
    @NotNull(message = "用户id不能为空！")
    private String cellPhoneNum;
    @Length(min = 6, max = 6, message = "新寄售密码只能为6位！")
    private String secPassword;
    @NotBlank(message = "手机验证码不能为空！")
    private String smsCode;
}
